Notice there is a bug when using astimezone() on utc time. This gives an incorrect result:

41

datetime.datetime.utcnow().astimezone().isoformat() #Incorrect result

Comments

Submit
0 Comments